﻿<UserControl x:Class="GameFrameLibrary.Frames.VideoFrame"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:input="clr-namespace:Prism.Games.GalEngine.Scripts.Parser.Input;assembly=InputModel"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">

    <UserControl.InputBindings>
        <MouseBinding MouseAction="LeftClick" Command="input:GameCommands.Next" />
    </UserControl.InputBindings>

    <Grid Name="GameLayout" Background="Black">
        <Grid Name="VideoLayout">
            <MediaElement Name="VideoMediaElement" LoadedBehavior="Play" UnloadedBehavior="Close" />
        </Grid>
    </Grid>
</UserControl>

